package com.cloud.api.domain.report;

import com.cloud.api.utils.ExcelUtils;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 杨斌
 * 2025-01-2025-01-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ExcelUtils.ExcelSheet(watermark = @ExcelUtils.Watermark(type = 0)
)
@Schema(description = "省市车辆运行情况导出")
public class ProvinceDistribution implements Serializable {


    @Schema(description = "省份")
    @ExcelUtils.ExcelExport(name = "table.field.province.name")
    private String province;

    @Schema(description = "总行驶里程(公里)")
    @ExcelUtils.ExcelExport(name = "table.field.runningMileageSum")
    private Double runningMileageSum;

    @Schema(description = "运行车辆数(辆)")
    @ExcelUtils.ExcelExport(name = "table.field.vehicleRunCount")
    private Double vehicleCount;

    @Schema(description = "日行驶里程中位数(公里）")
    @ExcelUtils.ExcelExport(name = "table.field.runningMedian")
    private Double runningMedian;


}
